package com.ygqh.baby.ao;

/**
 * 优惠卷状态
 * 
 * @author guohao
 *
 */
public enum CouponStatus {
	UnReceived(0, "未领取"), Used(0, "已使用"), Received(0, "已领取"),

	// 注意：数据库状态中不存在一下状态，只用于业务逻辑处理
	UnUsed(0, "未使用"), UnStart(0, "未开始"), Usable(0, "可用的"), UnUsable(0, "不可用的"), Dissatisfy(0, "不满足条件"), InValid(0, "已过期"), Mutex(0, "与其他活动冲突");

	/** 状态码 */
	private Integer code;
	/** 状态名称 */
	private String title;

	CouponStatus(Integer code, String title) {
		this.code = code;
		this.title = title;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
}
